package com.comm.db.jdbc;

import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Map;
import java.util.List;
 

/**
 * ---------------
 * @author [Richie]
 * 2008-7-15 : 下午01:57:30
 * ------------------------------- */
public interface Session {
    public List<Map> getList(String sql,List paramsList);  
    public ResultSet getResultSet(String sql, List paramsList);
    public Connection saveOrUpdateSQL(String sql,List paramsList,boolean iscommit);
    public Connection saveOrUpdateSQL(String sql,List paramsList);
    public Connection saveOrUpdateSQL(String sql,List list,Connection conn);
    public int excute(String sql,List list);
    public Connection excute(String sql,List list,boolean iscommit);
    public int excute(String sql,List list,Connection con);
    public int excuteBathe(String sql, List list);
    public int countRows(String sql,List listparams);
}
